fix for deep_symbolize_keys in rails 3