Yaml to XML in configuration