code: def to_dict(self):
          
          return {'station_id': self.station_id,
                  'timestamp': self.timestamp,
                  'aggregated_on': self.aggregated_on,
                  'temp': self.temp,
                  'humidity': self.humidity,
                  'wind': self.wind,
                  'pressure': self.pressure,
                  'precipitation': self.precipitation}
docs: Dumps object fields into a dict
  
          :returns: a dict