Set default encoding to None in parse_xml_to_obj()