public <ConfigType extends ConfigInstance> ConfigType toInstance(Class<ConfigType> clazz, String configId) {
        return ConfigInstanceUtil.getNewInstance(clazz, configId, this);
    }
@Test
    public void non_existent_array_of_struct_in_payload_is_ignored() {
        Slime slime = new Slime();
        Cursor array = slime.setObject().setArray("non_existent_arr");
        array.addObject().setString("name", "val");
        StructtypesConfig config = new ConfigPayload(slime).toInstance(StructtypesConfig.class, "");
        assertNotNull(config);
    }