How to fix Invalid JSON text in PostgreSQL | DevErrors