API extended with geojson support