code: private Map<String, String> replaceInMapValues(Map<String, String> map,
                                                     String oldVal,
                                                     String newVal) {
          for (String key : map.keySet()) {
              String value = map.get(key);
              if (value.contains(oldVal)) {
                  value = StringUtils.replace(value, oldVal, newVal);
                  map.put(key, value);
              }
          }
          return map;
      }
docs: /*
  Performs a replaceAll of one string value for another in all the values
  of a map.