title: Access dynamically a JSONObject without the key
body: <p>I have a JSONObject of parameters in this form:</p>
  
  <pre><code>{"WOOD":6,"QUARTZ":11};
  </code></pre>
  
  <p>I would like to simply test that the first field is "WOOD", the second is "6" etc.</p>
  
  <p>Doing this
          <code>parameters.get((String)parameters.keys().next());</code>
  returns 6, I cannot understand why it does not return "WOOD".</p>
  
  <p>Any ideas? Thanks!</p>