the transform_keys method is only available in Rails 4.0.2+