Use index sequences for tuple serialization.