class Rack::Session::Abstract::SessionHash

def stringify_keys(other)

def stringify_keys(other)
  # Use transform_keys after dropping Ruby 2.4 support
  hash = {}
  other.to_hash.each do |key, value|
    hash[key.to_s] = value
  end
  hash
end