Optimize Redis serialized values support

Rel: PR #3186