Using the data below I am trying to figure out how I would combine the ids, and return and array of they key
// example data var data = [ { id: 1, key: \'a