when iterating over object properties, the private and protected properties are now skipped