A Python module that lets you interact with XML as if it were a Python-native dict.
import json import xmltodict xmlfile = <blah blah blah> document = json.loads(xmltodict.parse(xmlfile))