class ActiveSupport::Cache::MemCacheStore

def serialize_entry(entry, raw: false, **options)

def serialize_entry(entry, raw: false, **options)
  if raw
    entry.value.to_s
  else
    super(entry, raw: raw, **options)
  end
end