pebble-ml implementation with java dom