grader and checks json