class Rack::Protection::EncryptedCookie::Base64::JSON

def encode(obj)

def encode(obj)
  super(::JSON.dump(obj))
end