Allow object to be google_hash as well.