updated objectKeys iterator for consistency