title: Ignore a key in JSON to XML conversion
body: <p>I am using json library to convert json to xml but while converting I want to ignore a nested json object to be converted to xml tags.</p>
  
  <p>eg.</p>
  
  <p>Plane json is as : </p>
  
  <pre><code>{"id":"9568","name":"Customer Analysis","group":"demo","param":{"globalSettings":{"showLegends":false,"legendPosition":"bottom center"}}}
  
  JSONObject json = new JSONObject("{\"id\":\"9568\",\"name\":\"Customer Analysis\",\"group\":\"demo\",\"param\":{\"globalSettings\":{\"showLegends\":false,\"legendPosition\":\"bottom center\"}}}");
  
      String xml = XML.toString(json);
      System.out.println(xml);
  </code></pre>
  
  <p>Now in above example, I want  in xml with a json as it is inside. Whereas now various elements are created for showLegends and legendPosition inside globalSettings.</p>
  
  <p>Current XML is as follows :</p>
  
  <pre><code>&lt;name&gt;Customer Analysis&lt;/name&gt;
  &lt;id&gt;9568&lt;/id&gt;
  &lt;group&gt;demo&lt;/group&gt;
  &lt;param&gt;
    &lt;globalSettings&gt;
       &lt;showLegends&gt;false&lt;/showLegends&gt;
       &lt;legendPosition&gt;bottom center&lt;/legendPosition&gt;
    &lt;/globalSettings&gt;
  &lt;/param&gt;
  </code></pre>
  
  <p>Expected XML should be as follows :</p>
  
  <pre><code>&lt;name&gt;Customer Analysis&lt;/name&gt;
  &lt;id&gt;9568&lt;/id&gt;
  &lt;group&gt;demo&lt;/group&gt;
  &lt;param&gt;
    &lt;globalSettings&gt;
       {"showLegends":false,"legendPosition":"bottom center"}
    &lt;/globalSettings&gt;
  &lt;/param&gt;
  </code></pre>
  
  <p>How can I handle this?</p>