title: Get Postgres Table Data as Json Without Field Names
body: <p>I want to convert Postgres table data to JSON without repeated field names at JSON result. When I use current PostgreSQL json functions, JSON results look likes similar to this : <code>[{"id":"1234","name":"XYZ"},....]</code>. But by this way, all field names unnecessarily exists on every row. So we does not prefer this way for the network bandwith.</p>
  
  <p>We want to get JSON result such as <code>[["1234","XYZ"],....]</code>. So total length of result json string will be much smaller.</p>