Deal with False/True variables in xml_to_dict