private Agent eventAgentFromSlime(Inspector eventAgentField) {
        return switch (eventAgentField.asString()) {
            case "operator" -> Agent.operator;
            case "application" -> Agent.application;
            case "system" -> Agent.system;
            case "nodeAdmin" -> Agent.nodeAdmin;
            case "DirtyExpirer" -> Agent.DirtyExpirer;
            case "DynamicProvisioningMaintainer", "HostCapacityMaintainer" -> Agent.HostCapacityMaintainer;
            case "HostResumeProvisioner" -> Agent.HostResumeProvisioner;
            case "FailedExpirer" -> Agent.FailedExpirer;
            case "InactiveExpirer" -> Agent.InactiveExpirer;
            case "NodeFailer" -> Agent.NodeFailer;
            case "NodeHealthTracker" -> Agent.NodeHealthTracker;
            case "ProvisionedExpirer" -> Agent.ProvisionedExpirer;
            case "Rebalancer" -> Agent.Rebalancer;
            case "ReservationExpirer" -> Agent.ReservationExpirer;
            case "RetiringUpgrader" -> Agent.RetiringOsUpgrader;
            case "RebuildingOsUpgrader" -> Agent.RebuildingOsUpgrader;
            case "SpareCapacityMaintainer" -> Agent.SpareCapacityMaintainer;
            case "SwitchRebalancer" -> Agent.SwitchRebalancer;
            case "HostEncrypter" -> Agent.HostEncrypter;
            case "ParkedExpirer" -> Agent.ParkedExpirer;
            case "HostFlavorUpgrader" -> Agent.HostFlavorUpgrader;
            default -> throw new IllegalArgumentException("Unknown node event agent '" + eventAgentField.asString() + "'");
        };
    }
Returns the event type, or null if this event type should be ignored
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/NodeSerializer.java