def string_keys(hash={})
      hash.inject({}) do |options, (key, value)|
        options[key.to_s] = value
        options
      end
    end
def string_keys(hash={})
      hash.inject({}) do |options, (key, value)|
        options[key.to_s] = value
        options
      end
    end
Pulling from ActiveSupport::CoreExtensions::Hash::Keys to avoid
 having to include the entire gem.

 hash - the hash to convert keys to strings

 returns a new hash with only string keys