Object to xml and vice versa translation for python.