fix geojson headers, hooks and api functionalities