The way the TP currently generates the code for filling in holes of a template, temporary variables are created for every item because list appending happens in a flipped order
Solutions would be:
Doc()call - but as previous methods take expression arguments, that we should preserve, this might not work at all.
letexpressions and flatten it to an array and use
List.ofArrayon it (as currently simple list expressions are translated)