title: XML to JSON Conversion Issue
body: <p>I have an xml schema - </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
       xmlns="http://www.tibco.com/schemas/RegTestingStub/SharedResources/SchemaDefinitions/CommonXSD/Schema.xsd2"
       targetNamespace="http://www.tibco.com/schemas/RegTestingStub/SharedResources/SchemaDefinitions/CommonXSD/Schema.xsd2"
       elementFormDefault="qualified"
       attributeFormDefault="unqualified"&gt;
      &lt;xs:element name="AccumulateResponse" type="AccumulateResponse"/&gt;
      &lt;xs:complexType name="AccumulateResponse"&gt;
          &lt;xs:sequence&gt;
              &lt;xs:element name="TestCase" minOccurs="0" maxOccurs="unbounded"&gt;
                  &lt;xs:complexType&gt;
                      &lt;xs:sequence&gt;
                          &lt;xs:element name="Transactionid" type="xs:string"/&gt;
                          &lt;xs:element name="TransactionType" type="xs:string"/&gt;
                          &lt;xs:element name="Status" type="xs:string"/&gt;
                      &lt;/xs:sequence&gt;
                  &lt;/xs:complexType&gt;
              &lt;/xs:element&gt;
          &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>I am doing this conversion i the following steps - 
  1) Generate Java Classes from XML Schema using XJC
  2) Compile the classes using Java Compiler API
  3) unmarshalling the class instance by JAXB</p>
  
  <p>But they are all heavy IO operations. Is there a way to do it in memory?</p>