Fix a bug where Hashes (and subclasses of Hash) were converted into ActiveSupport::HashWithIndifferentAccess when passed to a view.