add geojson rewrite api