@Override
    public String toString() {
    	StringBuilder builder = new StringBuilder();
    	for (String line : normalizedContent) {
    		builder.append(line.replace("\"", "\\\""));
    		builder.append("\\n\\\n");
    	}
    	return builder.toString();
    }
Replaces sequences of spaces with 1 space, unless inside quotes. Public for testing.

@param str String to strip spaces from
@return String with spaces stripped
configgen/src/main/java/com/yahoo/config/codegen/NormalizedDefinition.java