code: public static String wellFormedToFS(String value) {
          if (value == null || value.isEmpty()) {
              return LogicalValue.ANY.getAbbreviation();
          }
          if (LogicalValue.ANY.getAbbreviation().equals(value) || LogicalValue.NA.getAbbreviation().equals(value)) {
              return value;
          }
          //unquote '.', '_', and '-'
          //return value.replaceAll("\\\\([._-])", "$1");
          StringBuilder buffer = new StringBuilder(value);
          char p = ' ';
          for (int x = 0; x < buffer.length() - 1; x++) {
              char c = buffer.charAt(x);
              if ((c == '.' || c == '_' || c == '-') && p == '\\') {
                  buffer.delete(x - 1, x);
                  x -= 1;
              }
              p = c;
          }
          return buffer.toString();
      }
docs: Transforms a Well Formed string into a formatted string (see CPE 2.3
  specification).
  
  @param value the component value to encode
  @return the formatted string