delegate to native Object.keys in nightlies
(cherry picked from commit c4daac089b26ba67dcd477b9babaeb3c37d2d19a)