title: Convert json file to xml or csv, to be opened in OppenOffice/MS Excel
body: <p>Is there any tool available that can convert a json file to a xml or csv file which can be opened in either of OpenOffice or Excel.</p>
  
  <p>I am working on a web application and using MongoDB as backend. Have exported the data as json from MongoDB and need to convert the data in some format which can be opened by some spreadsheet software. I need to give this data to client and also slice-and-dice and decorate it before handing it over. I am planning to implement a feature which will export the required data in .csv and .xls format, but need a quick dirty solution now. </p>
  
  <p>I had to do this same thing some time back also and found something(a simple script) which saved my day. Can't locate the script again, any help would be very much appreciated.</p>
  
  <p><em>UPDATE:</em> Still looking for a solution and was trying to assemble a quick ruby script which can solve the problem. Anybody here knows which gem in rails adds <code>to_xml</code> to hash and array?</p>