Move YAML wrapper to an other library.