geojson output in controllers