Iterator class, refactored orderedStringify, deep clone function, keys function