Add jni and Cmd format parsing