Fix bug in submission, detected thanks to 'use strict'

Actually construct the submission object.