Revert to TEXT for object datatype in Postgres