convert location to GeoJSON