Will/ai grading test fixup

Fixup for broken test in the AI grading branch.  Ensures that the data format passed into the AI training API from the XBlock matches what the API expects.