Add jni libs to bundled demo
Implement correct metadata lookup