keyAt and nextKey methods for object iterators