Iterate an object