Handle `for .. in` blocks in template for `decanat-engine`.