fix for removal of deep_symbolize_keys in rails 3