Convert an XML file to a YAML file