code: function () {
      var plugins = {};
      Object.keys(config.plugins || {}).forEach(function(name){
        var template = '';
        //if (loadedPlugins[name] && loadedPlugins[name].getTemplate) {
        //  template = loadedPlugins[name].getTemplate(config);
        //}
        plugins[name] = {
          name: config.plugins[name].name,
          displayName: config.plugins[name].displayName,
          version: config.plugins[name].version,
          template: template
        };
      });
      return plugins;
    }
docs: Prepare plugins to be sent as json file to the web UI.
  
  @returns {Object}