code: async function renderList(nj, templList, templateVars) {
    const renderedList = await Promise.map(
      _.without(templList, _.isUndefined),
      async(it) => render(nj, it, templateVars));
    return renderedList;
  }
docs: helper function for safely rendering ( possibly undefined) list of strings: