updated grader.js to output a text file of json