Update the_geom function redone supporting proper geojsons and removing two unnecessary gems