public static SystemState deserialize(@NonNull ConfigMap configMap) {
        Map<String, String> data = configMap.getData();
        if (data == null) {
            return new SystemState();
        }
        return JsonUtils.jsonToObject(data.getOrDefault(GROUP, emptyJsonObject()),
            SystemState.class);
    }
@Test
    void deserialize() {
        ConfigMap configMap = new ConfigMap();
        SystemState systemState = SystemState.deserialize(configMap);
        assertThat(systemState).isNotNull();

        configMap.setData(Map.of(SystemState.GROUP, "{\"isSetup\":true}"));
        systemState = SystemState.deserialize(configMap);
        assertThat(systemState.getIsSetup()).isTrue();
    }