preparing StringTemplate to support iteration