refactored method that gives long lat a geojson-like formatcr
refactored method that gives long lat a geojson-like format