Why not use [`object-keys`](https://github.com/ljharb/object-keys)?