SerializerBase: fix tuple serialization