title: Convert XML to JSON using org.apache.commons.json.utils.XML toJson - Changes empty element to "true"
body: <p>I'm trying to to convert an xml string to Json in Java. 
  Here is a sample code:</p>
  
  <pre><code>import org.apache.commons.json.utils.XML;
  
  String test = "&lt;?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?&gt;&lt;a&gt;&lt;b&gt;val1&lt;/b&gt;&lt;d/&gt;&lt;/a&gt;";
  InputStream is = new ByteArrayInputStream(test.getBytes());
  String jsonString = XML.toJson(is);
  </code></pre>
  
  <p>The result is:</p>
  
  <blockquote>
    <p>{"a":{"b":"val1","d":true}}</p>
  </blockquote>
  
  <p>I don't understand why d's value is set to true ? </p>
  
  <p>Also is there any way to get this result: </p>
  
  <blockquote>
    <p>{"a":{"b":"val1","d":""}}</p>
  </blockquote>