public void toLaxString(StringBuilder sb){
  sb.append("$");
  for (  String step : steps) {
    if (step.charAt(0) != '[') {
      sb.append(".");
      sb.append(step);
    }
  }
}

public void toLaxString ( StringBuilder sb ) { sb . append ( "$" ) ; for ( String step : steps ) { if ( step . charAt ( 0 ) != '[' ) { sb . append ( "." ) ; sb . append ( step ) ; } } }
build a path suitable for json_textcontains , eliminating all array steps .
