title: Gson: Remove redundant newlines when serializing an array
body: <p>When using Gson to serialize an array to json, I get a new line after each element, e.g.</p>
  
  <pre><code>  "values": [
      962,
      962,
      0,
      962,
      483,
      479
    ]
  </code></pre>
  
  <p>is there anyway to avoid this, and have all values in the same line within Gson (that is, not post-processing Gson's output)?</p>