Converter XML para JSON
python3 -c "import xmltodict,  json,  sys; with open(sys.argv[1]) as f: data=xmltodict.parse(f.read()); json.dump(data,  open(sys.argv[2],  'w'),  indent=2)" input.xml output.json 