Using object-keys instead of a homegrown keys shim.

Using a more robust Object.keys shim via a module.