def get_catalog_id_by_name(organization, catalogName)
      result = nil

      organization[:catalogs].each do |catalog|
        if catalog[0].downcase == catalogName.downcase
          result = catalog[1]
        end
      end

      result
    end
def get_catalog_id_by_name(organization, catalogName)
      result = nil

      organization[:catalogs].each do |catalog|
        if catalog[0].downcase == catalogName.downcase
          result = catalog[1]
        end
      end

      result
    end
Friendly helper method to fetch an catalog id by name
 - organization hash (from get_organization/get_organization_by_name)
 - catalog name