public <ConfigType extends ConfigInstance> ConfigType toInstance(Class<ConfigType> clazz, String configId) {
        return ConfigInstanceUtil.getNewInstance(clazz, configId, this);
    }
@Test
    public void non_existent_map_in_map_in_payload_is_ignored() {
        Slime slime = new Slime();
        Cursor map = slime.setObject().setObject("nestedmap").setObject("my-nested");
        map.setObject("inner").setLong("one", 1);
        map.setObject("non_existent").setLong("non-existent", 0);

        MaptypesConfig config = new ConfigPayload(slime).toInstance(MaptypesConfig.class, "");
        assertThat(config.nestedmap("my-nested").inner("one"), is(1));
    }