Fixed bugs causing single features to fail with both geojson and json;