Added support for json lang files for plugins
Fixed bugs