Transform vars to yml