Function flattenKeys

Get a string list of all key names that exist in an object (deep).

keys({ name: 'ra' }) // ['name']
keys({ name: 'ra', children: [{ name: 'hathor' }] }) // ['name', 'children.0.name']