Make sure our object is a hash