I'm trying to understand section 9.1 of the documentation: https://coderunner.org.nz/mod/book/view.php?id=198&chapterid=820
The example code prints a json string with fields: got, comment, and fraction. However, the suggestion is to use a Results Columns value of
[["Expected", "expected"], ["Got", "got"], ["Comment", "comment"], ["Mark", "awarded"]]
Is this really correct? Shouldn't the Results columns match the json string produced by the program code? Or are there really some special names such as "expected" and "awarded" which are independent of the json string printed by the template code?