I am required to parse an XML file using Python and then convert it into JSON. The problem is that the XML elements are deeply nested so I can\'t get the data other than by sele