lib/rocket_chat/util.rb
def stringify_hash_keys(hash)
      new_hash = {}
      hash.each do |key, value|
        new_hash[key.to_s] =
          if value.is_a? Hash
            stringify_hash_keys value
          else
            value
          end
      end
      new_hash
    end
def stringify_hash_keys(hash)
      new_hash = {}
      hash.each do |key, value|
        new_hash[key.to_s] =
          if value.is_a? Hash
            stringify_hash_keys value
          else
            value
          end
      end
      new_hash
    end
def stringify_hash_keys ( hash ) new_hash = { } hash . each do | key , value | new_hash [ key . to_s ] = if value . is_a? Hash stringify_hash_keys value else value end end new_hash end
Stringify symbolized hash keys
 @param [Hash] hash A string/symbol keyed hash
 @return Stringified hash
Stringify symbolized hash keys