title: Converting Map to JSON is not resolving lists correctly
body: <p>I am having an issue with creating a new JSON object given a <code>Map&lt;String, Object&gt;</code>. For example:</p>
  
  <pre><code>Map&lt;String, Object&gt; data = new Map&lt;String, Object&gt;();
  data.put( "myList", new ArrayList&lt;String&gt;( Arrays.asList("item1", "item2")))
  JSONObject json = new JSONObject(data);
  </code></pre>
  
  <p>What I am getting with <code>json.toString()</code> is</p>
  
  <pre><code>"{
    "myList": "[item1, item2]"
   }"
  </code></pre>
  
  <p>when I should be getting</p>
  
  <pre><code>"{
    "myList": ["item1", "item2"]
   }"
  </code></pre>
  
  <p>Notice the quotes <em>around</em> vs. <em>in</em> the array? Any ideas on how this can be fixed?</p>