Standardizing parse tree to represent multi-valued nodes as tuples