title: convert json to xml without changing the order of parameters in python
body: <p>I'm using Json2xml module for converting json format to xml format.  But, while converting it changes the order of the parameters.  How do I convert without changing the order of parameters?  Here's my python code.</p>
  
  <pre><code>from json2xml.json2xml import Json2xml
  
  data = Json2xml.fromjsonfile('example.json').data
  data_object = Json2xml(data)
  xml_output = data_object.json2xml()
  print xml_output
  </code></pre>
  
  <p>example.json</p>
  
  <pre><code>{
      "action": {
        "param1": "aaa",
        "param2": "bbb"
      }
  }
  </code></pre>
  
  <p>The output is</p>
  
  <pre><code>&lt;action&gt;
  &lt;param2&gt;bbb&lt;/param2&gt;
  &lt;param1&gt;aaa&lt;/param1&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Is there a way to convert json to xml without changing the order of parameters?</p>