Font Awesome icons with JSON load

The example shown uses XML format to load the font awesome icons. Is it not possible to do the same thing with the JSON format?

It can be used with JSON as well, there is no need to change anything.

Check
snippet.dhtmlx.com/d6ec1b48e