Added the ability to render spatial object as GeoJSON.