REST wrapper around BPM java client