Function enumerateObjectAsync

Iterates through the object