output info for courses to be displayed via json
merge conflict fixed