module Jekyll::Utils

def stringify_hash_keys(hash)

Returns a new hash with stringified keys

hash - the hash to which to apply this transformation

Apply #to_s to all keys in the Hash
def stringify_hash_keys(hash)
  transform_keys(hash) { |key| key.to_s rescue key }
end