title: Google gson.toJson(List) returning response as string instead of array
body: <p>I am trying to use JsonObject to convert the java object to String. Following is the code that i am using to add the properties :</p>
  
  <pre><code>    JsonObject jsonObject = new JsonObject();
      jsonObject.addProperty("id", favoriteWrapper.getId());
      jsonObject.addProperty("menuitemid", favoriteWrapper.getMenuItemId());
      jsonObject.addProperty("displayname", favoriteWrapper.getDisplayName());
      jsonObject.addProperty("description", favoriteWrapper.getDescription());
      jsonObject.addProperty("alias", favoriteWrapper.getAlias());
      Gson gson = new Gson();
      jsonObject.addProperty("condiments", gson.toJson(favoriteWrapper.getCondiments()));
  </code></pre>
  
  <p>Here the last property condiments is a list of Long values and following is the response retrieved:</p>
  
  <pre><code>[
      {
          "id": 1,
          "menuitemid": 1,
          "displayname": "Ham",
          "description": "Ham",
          "alias": "Ham",
          "condiments": "[1,8,34,2,6]"
      }
  ]
  </code></pre>
  
  <p>Expected output is as following which is different for condiments:</p>
  
  <pre><code>   [
          {
              "id": 1,
              "menuitemid": 1,
              "displayname": "Ham",
              "description": "Ham",
              "alias": "Ham",
              "condiments": [1,8,34,2,6]
          }
      ]
  </code></pre>
  
  <p>What should I do to get the condiments as JSON array rather than String ?</p>