ensure values gets a hash