extract to yaml