Don't go to PostGIS database to convert WKB->GeoJSON, use rubyland RGeo instead
Provide TheGeomGeoJSON.ewkb_to_geojson(ewkb)