The `validateRequestBody` function does not belong to the response handler. It should be in it's own package.