private static DataplaneToken tokenFromSlime(Inspector object) {
        String id = object.field(ID_FIELD).asString();
        List<DataplaneToken.Version> versions = SlimeUtils.entriesStream(object.field(VERSIONS_FIELD))
                .filter(Inspector::valid)
                .map(DataplaneTokenSerializer::tokenValue)
                .toList();
        return new DataplaneToken(id, versions);
    }
Serialize/deserialize dataplane tokens

@author mortent
configserver/src/main/java/com/yahoo/vespa/config/server/tenant/DataplaneTokenSerializer.java