Added missing jsonSerialize method to Submission.