[BUGFIX beta] use Object.keys when possible
Merge pull request #4676 from sly7-7/fix-ember-dot-keys

[BUGFIX beta] use Object.keys when possible