Half done conversion to yaml.