Use fancier types
Rename to flattenValueTuple