Adding the keys and values functions for Objects