title: Serializing JsonArray as array and not object using Gson
body: <p>I'm using Gson library but when it serializes the JsonArray object, it seems to serialize this as an object rather than a JSON array. i.e.</p>
  
  <p>{ elements: [ {name:"value1}, {name:"value2"}]}</p>
  
  <p>How do I remove the elements from being serialized?</p>