Cache_redis: Adding serialization support.