Initial version of JSON grading script