PostgreSQL saves to JSON using Node