Adds request body hash middleware