use postgis builtin ST_AsGeoJSON