public <ConfigType extends ConfigInstance> ConfigType toInstance(Class<ConfigType> clazz, String configId) {
        return ConfigInstanceUtil.getNewInstance(clazz, configId, this);
    }
@Test
    public void non_existent_map_of_struct_in_payload_is_ignored() {
        Slime slime = new Slime();
        Cursor map = slime.setObject().setObject("non_existent_inner_map");
        map.setObject("one").setLong("foo", 1);
        MaptypesConfig config = new ConfigPayload(slime).toInstance(MaptypesConfig.class, "");
        assertNotNull(config);
    }