Clean up geojson code