code: public static Object handleControlCharacter(final Object pvValue) {
  		Object lvReturn = pvValue;
  		if (lvReturn != null && lvReturn.getClass().equals(String.class)) {
  			String lvString = lvReturn.toString();
  
  	        int len = lvString.length();
  			if (len == 0) {
  				return "";
  			}
  	
  	        char c = 0;
  	        StringBuffer sb = new StringBuffer(len + 4);
  	
  	        for (int i = 0; i < len; i++) {
  	            c = lvString.charAt(i);
  	            switch (c) {
  		            case '\\':
  	                    sb.append('\\').append(c);
  		                break;
  		            case '"':
  		                sb.append('\\').append(c);
  		                break;
  		            case '/':
  		                sb.append('\\').append(c);
  		                break;
  		            case '\b':
  		                sb.append("\\b");
  		                break;
  		            case '\t':
  		                sb.append("\\t");
  		                break;
  		            case '\n':
  		                sb.append("\\n");
  		                break;
  		            case '\f':
  		                sb.append("\\f");
  		                break;
  		            case '\r':
  		                sb.append("\\r");
  		                break;
  		            default:
  //		                if (c < ' ' || (c >= '\u0080' && c < '\u00a0') || (c >= '\u2000' && c < '\u2100')) {
  //		                    hex = "000" + Integer.toHexString(c);
  //		                    sb.append("\\u" + hex.substring(hex.length() - 4));
  //		                } else {
  		                    sb.append(c);
  //		                }
  		            }
  	        }
  	        return sb.toString();
  		} else {
  			return lvReturn;
  		}
  	}
docs: Convert escape (control) character to a JSON representation.
  This means: <code>\b</code> to <code>\\b</code>
  @param pvValue
  @return converted String