Serialization: finish generic redis api