Postgres Table And Columns Query String To Json Javascript W3schools