Rendering rowset as a struct passed to a template