it might be easier to just build a list of `module.getModuleId() + ' v' + module.getVersion();` and use `moduleList.join(", ");` ...