> {{#genes}} open table {{#rows}} row stuff {{/rows}} end table {{/genes}}
JSON templates has an interesting solution.
http://json-template.googlecode.com/svn/trunk/doc/Introducin...
{.section genes} open table {.repeated section @} row stuff {.end} end table {.end}