title: Converting Excel to JSON
body: <p>I have read an excel document using apache-poi.
  The excel document which have records like:</p>
  
  <pre><code>A1 A2 A3 A4
  
  A1 A2 B3 B4
  </code></pre>
  
  <p>i want to convert them into JSON arrays like</p>
  
  <pre><code>{ A1 : {A2 : {A3 : {A4 : some_value } } , {B3 : {B4 : some_value } } } }
  </code></pre>
  
  <p>Actually its easy to convert to XML.
  Please tell me how to solve this. 
  Only hints would suffice.</p>