def get_network_id_by_name(organization, networkName)
      result = nil

      organization[:networks].each do |network|
        if network[0].downcase == networkName.downcase
          result = network[1]
        end
      end

      result
    end
def get_network_id_by_name(organization, networkName)
      result = nil

      organization[:networks].each do |network|
        if network[0].downcase == networkName.downcase
          result = network[1]
        end
      end

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