Modified query:
Now able to search for course id using json objects. If no course id is provided, all courses are returned.

Things to work on:
To query by course id or course name.