Don't debug the entire body of a request, since it can be very large at times. Instead only debug the headers by default.
Overriding the class equality method on Hash for descendants of ApiModel so it plays nicely with Rails polymorphic routing.