factoring out a mustache/render-section-list function