basic-lib/src/main/java/com/streamsets/pipeline/stage/processor/fieldorder/FieldOrderProcessor.java
private String toFieldName(String fieldPath) {
    String path = fieldPath.substring(1).replaceAll("/", ".");
    path = "/" + path;
    return EscapeUtil.getLastFieldNameFromPath(path);
  }
private String toFieldName(String fieldPath) {
    String path = fieldPath.substring(1).replaceAll("/", ".");
    path = "/" + path;
    return EscapeUtil.getLastFieldNameFromPath(path);
  }
private String toFieldName ( String fieldPath ) { String path = fieldPath . substring ( 1 ) . replaceAll ( "/" , "." ) ; path = "/" + path ; return EscapeUtil . getLastFieldNameFromPath ( path ) ; }
Remove initial "/", replace all other slashes with dots
Remove initial / replace all other slashes with dots