Modified getAllMarksForModule() in student.py to get JSON objects