When making a call to StubHelper.prototype.getQueryResultAsList using Fabric 1.4 (haven't tested with other versions) and @theledger/fabric-chaincode-utils@4.0.3, the iterator response is not an actual iterator, but an object containing an iterator as a prop.

This produces the error TypeError: iterator.next is not a function