mod to yaml