code: def to_JSON(self):
          
          return json.dumps({'name': self._name,
                           'coordinates': {'lon': self._lon,
                                           'lat': self._lat
                                          },
                           'ID': self._ID,
                           'country': self._country})
docs: Dumps object fields into a JSON formatted string
  
          :returns:  the JSON string