I just came across the need to have pipes "|" in my select (because of regex) and realised that this of course breaks the template. I tried escaping them with {{!}} but am still getting an error.
Guessing a post prosessing step is needed to deal with converting this after loading the template.