Fix key names in submission api endpoint