private StructtypesConfig createStructtypesConfigNestedArray(String[] names, String [] genders, String [][] emails) {
        Slime slime = new Slime();
        Cursor array = slime.setObject().setArray("nestedarr");
        assertEquals(names.length, genders.length);
        for (int i = 0; i < names.length; i++) {
            addStructFields(array.addObject().setObject("inner"), names[i], genders[i], emails[i]);
        }
        return new ConfigPayload(slime).toInstance(StructtypesConfig.class, "");
    }
*******************************************************************************************
Helper methods. consider moving out to another class for reuse by merge tester.            *
********************************************************************************************
config/src/test/java/com/yahoo/vespa/config/ConfigPayloadTest.java