code: function(sites) {
  
    // Map into a choices array
    var choices = [];
    _.map(sites, function(val, key) {
      if (!_.isEmpty(val)) {
        choices.push({
          name: val.site.name,
          value: val.site.name,
          id: val.site.name,
          uuid: val.site.id || key,
          php: val.site.php_version,
          upstream: val.site.upstream,
          framework: val.site.framework,
          drush: val.site.drush_version || 7
        });
      }
    });
  
    // Sort nicely by name and return
    return _.sortBy(choices, 'name');
  
  }
docs: /*
  Parse our sites from pantheon api into a choices array