bu sadece iki satır python koduna bakıyor.
xmlfile = open("xmlfile.xml", "r").read()
print(xmltodict.parse(xmlfile), file=open("output.json", "a"))