Make redis serializer work