changed xml_to_dict to return a bunch_or_dict, renamed _root_to_dict to element_to_dict