fix geometry object creation from {wkt, wkb, json}