code: def to_JSON(self):
          
          return json.dumps({"interval": self._interval,
                             "reception_time": self._reception_time,
                             "Location": json.loads(self._location.to_JSON()),
                             "weathers": json.loads("[" + \
                                  ",".join([w.to_JSON() for w in self]) + "]")
                             })
docs: Dumps object fields into a JSON formatted string
  
          :returns: the JSON string