List majors and add proper mime to json responses