courses to yaml