async def get(self, key):
        """Decode the value."""
        value = await self.conn.get(key)
        if self.cfg.jsonpickle:
            if isinstance(value, bytes):
                return jsonpickle.decode(value.decode('utf-8'))

            if isinstance(value, str):
                return jsonpickle.decode(value)

        return value