private void addStructFields(Cursor struct, String name, String gender, String [] emails) {
        struct.setString("name", name);
        struct.setString("gender", gender);
        if (emails != null) {
            Cursor array = struct.setArray("emails");
            for (String email : emails) {
                array.addString(email);
            }
        }
    }
*******************************************************************************************
Helper methods. consider moving out to another class for reuse by merge tester.            *
********************************************************************************************
config/src/test/java/com/yahoo/vespa/config/ConfigPayloadTest.java