def find_main_subset
      return @init_data if @init_data[:id] && @init_data[:name]
      return @init_data[:general] if @init_data[:general] && @init_data[:general][:id] && @init_data[:general][:name]
      @init_data.each do |_key, value|
        next unless value.is_a? Hash
        return value if value.keys.include?(:id) && value.keys.include?(:name)
      end
    end
def find_main_subset
      return @init_data if @init_data[:id] && @init_data[:name]
      return @init_data[:general] if @init_data[:general] && @init_data[:general][:id] && @init_data[:general][:name]
      @init_data.each do |_key, value|
        next unless value.is_a? Hash
        return value if value.keys.include?(:id) && value.keys.include?(:name)
      end
    end
Find which part of the @init_data contains the :id and :name

 If they aren't at the top-level of the init hash they are in a subset hash,
 usually :general, but sometimes someething else,
 like ldap servers, which have them in :connection
 Whereever both :id and :name are, that's the main subset

 @return [Hash] The part of the @init_data containg the :id and :name