Fixed forEach for Object