title: JSON format with gzip compression
body: <p>My current project sends a lot of data to the browser in JSON via ajax requests.</p>
  
  <p>I've been trying to decide which format I should use. The two I have in mind are</p>
  
  <pre><code>[
      "colname1" : "content",
      "colname2" : "content",
  ],
  [
      "colname1" : "content",
      "colname2" : "content",
  ],  
  ...
  </code></pre>
  
  <p>and</p>
  
  <pre><code>{
  "columns": [
      "column name 1", 
      "column name 2", 
  ], 
  "rows": [
      [
          "content", 
          "content"
      ], 
      [
          "content", 
          "content"
      ]
      ...
  ]
  </code></pre>
  
  <p>}</p>
  
  <p>The first method is better because it is easier to work with. I just have to convert to an object once received. The second will need some post processing to convert it into a format more like the first so it is easier to work with in JavaScript.</p>
  
  <p>The second is better because it is less verbose and therefore takes up less bandwidth and downloads more quickly. Before compression it is usually between 0.75% and 0.85% of the size of the first format.</p>
  
  <p>GZip compression complicates things further. Making the difference in file size nearer 0.85% to 0.95%</p>
  
  <p>Which format should I go with and why?</p>