private String getArrayName(String name) {
        if (name.contains("[")) {
            return name.substring(0, name.indexOf("["));
        } else {
            return name;
        }
    }
Deserializes a config payload to slime

@param lines a list with config payload strings
@return an instance of the config class
config/src/main/java/com/yahoo/config/subscription/CfgConfigPayloadBuilder.java