Here is the demo of the long and short JSON format for multilanguage trees. You need to set the languages option. In the buttons code, you can see how to get an instance - either by using reference and focused.