Change generation of geoJSON