I would like to iterate through the attributes in a template putting a comma after every attribute except for the last one. In that case I want to put a period. I've tried the first/rest/last interface but the last attribute is returned with the rest of that attributes from the "rest" call. Is there another approach?