I think assuming you have the Yaml component when you dump as Yaml could be a sane assumption. What do you think @fabpot ?