unquoteDoubleQuotes function
Unquotes and unescapes a String escaped and quoted with double quotes.
Implementation
String unquoteDoubleQuotes(String string) {
checkState(string.startsWith("\"") && string.endsWith("\""));
return string.substring(1, string.length - 1).replaceAll("\"\"", "\"");
}