code: public static String encodeJersey(String v)
    {
      String encoded = jerseyExtraEscape.escape(v);
      return encoded;
    }
docs: This will percent encode Jersey template argument braces (enclosed in
  "{...}") and the percent character. Both would not be esccaped by jersey
  and/or would cause an error when this is not a valid template.
  
  @param v
  @return