Revert "Add Object.values function"

This reverts commit c0b745832984da6461ba6f0184d8c6258b3f1308.
Minor refactor