In examschedule.json the "data" key contains an array of objects. It would be easier to get the information for a specific course if "data" was an object with the keys being the course codes and the values being the arrays of sections currently in the "sections" key.