NXP-12375: fix init and listener serialization for Redis