code: def coerce(self, value):
          
  
          return {
              'lat': float(value.get('lat', value.get('latitude'))),
              'lon': float(value.get('lon', value.get('longitude')))
          }
docs: Coerces value to location hash.