getCourseJSON sends right response