Updated Tuple type serialization