[DF-915] jniExtensions refactoring