Added the deep_stringify_keys method so that it works in rails 3