could you use `ko.utils.arrayForEach` here?