produce json file of all courses for a specified term