Revert "courses_matching returns json objects."

This reverts commit 4ed9190c6cd87082617b68964c6f9227797c32fb.
lots of chnages