Refactors get-value-from-body. Adds more fields to from submission.