Replaced pair with list in ExamParserListener