withObjectOutputStream
RedisSerialization