Bug fix for single feature json and geojson endpoint;