def compare_everything_else
      error_count =0
      exclude_keys = ['rights', 'rels-ext', 'metadata', 'thumbnail-file']
      all_keys_to_check = (bendo.keys + fedora.keys - exclude_keys).uniq
      all_keys_to_check.each do |key|
        bendo_value = bendo.fetch(key, nil)
        fedora_value = fedora.fetch(key, nil)
        # Treat an empty hash and an empty array as equal
        next if bendo_value.empty? && fedora_value.empty?
        next if normalize_value(bendo_value) == normalize_value(fedora_value)
        error_count += 1
        break
      end
      error_count
    end
def compare_everything_else
      error_count =0
      exclude_keys = ['rights', 'rels-ext', 'metadata', 'thumbnail-file']
      all_keys_to_check = (bendo.keys + fedora.keys - exclude_keys).uniq
      all_keys_to_check.each do |key|
        bendo_value = bendo.fetch(key, nil)
        fedora_value = fedora.fetch(key, nil)
        # Treat an empty hash and an empty array as equal
        next if bendo_value.empty? && fedora_value.empty?
        next if normalize_value(bendo_value) == normalize_value(fedora_value)
        error_count += 1
        break
      end
      error_count
    end
compare what remains