private String clean(String value) {
        if (value == null) {
            value = "";
        }

        value = value.replaceAll("``", "`");
        value = value.replaceAll("''", "'");
        value = value.replaceAll(new String(new char[]{SL}), "'");
        value = value.replaceAll(new String(new char[]{SR}), "'");
        value = value.replaceAll(new String(new char[]{DL}), "\"");
        value = value.replaceAll(new String(new char[]{DR}), "\"");
        value = value.trim();

        return (value);
    }
scan the news messsage and store the metadata and data into a map
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-news-module/src/main/java/org/apache/tika/parser/iptc/IptcAnpaParser.java