code: function mapVariablesToObject(variables) {
    var plugmanConsumableVariables = {};
    for (var i in variables) {
      var t = variables[i].split('=');
      if (t[0] && t[1]) {
        plugmanConsumableVariables[t[0]] = t[1];
      }
    }
    return plugmanConsumableVariables;
  }
docs: takes an array or variables and turns them into an object to be consumed by plugman