public void resolve(Cursor parent) {
            for (Map.Entry<String, ConfigPayloadBuilder> entry : elements.entrySet()) {
                ConfigPayloadBuilder child = entry.getValue();
                String childVal = child.getValue();
                if (childVal != null) {
                    parent.setString(entry.getKey(), childVal);
                } else {
                    Cursor childCursor = parent.setObject(entry.getKey());
                    child.resolve(childCursor);
                }
            }
        }
Create a new map where new values may be added.

@param name Name of map.
@return Map builder supporting adding elements to it.
config/src/main/java/com/yahoo/vespa/config/ConfigPayloadBuilder.java