Get the values of an object