Parse feature as geometry to match the type
Avoid unwrapping until failure to match geom

A little cleaner this way
Merge pull request #803 from echeipesh/feature/geojson-polymorphism

Feature/geometry polymorphism in geojson