Fixed kx.iterator implement function so it also works with objects

This fixes kx.iterator methods which use the implement function so they can be used with objects in the collection