lib/config.js
function () {
    var apps = {};
    var baseUrl = configHelpers.getServerUrl();
    Object.keys(config.apps || {}).forEach(function(name){
      apps[name] = {
        name: config.apps[name].name,
        displayName: config.apps[name].displayName,
        version: config.apps[name].version,
        url: baseUrl + '/apps/' + config.apps[name].name + '/'
      };
    });
    return apps;
  }
function () {
    var apps = {};
    var baseUrl = configHelpers.getServerUrl();
    Object.keys(config.apps || {}).forEach(function(name){
      apps[name] = {
        name: config.apps[name].name,
        displayName: config.apps[name].displayName,
        version: config.apps[name].version,
        url: baseUrl + '/apps/' + config.apps[name].name + '/'
      };
    });
    return apps;
  }
Prepare apps to be sent as json file to the web UI.

@returns {Object}