Change the relations format in courses.json to make it easier to adapt for any major