implementing toJSON for LatLng and LatLngBounds