private StructtypesConfig createStructtypesConfigComplexArray(String [][] names, String [][] genders) {
        Slime slime = new Slime();
        Cursor array = slime.setObject().setArray("complexarr");
        assertEquals(names.length, genders.length);
        for (int i = 0; i < names.length; i++) {
            assertEquals(names[i].length, genders[i].length);

            Cursor innerarr = array.addObject().setArray("innerarr");
            for (int k = 0; k < names[i].length; k++) {
                addStructFields(innerarr.addObject(), names[i][k], genders[i][k], null);
            }
        }
        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