This will allow parsing the XML or dict to an object. 

I've added the ability to parse/unparse XML into an object. The class can be used to parse any dictionary into an object really. I find it is much easier to use an object rather than a dictionary if are going deeply into a dictionary.