code: protected static Object escape(Object val) {
          if (val instanceof String) {
              return ((String)val).replaceAll("/", PATH_SEP_TOKEN);
          } else {
              return val;
          }
      }
docs: todo: currently '/' characters are blindly being replaced but this will not allow regex queries to be used