Ensuring that the request body on a put is as expected