const lifeTimeStats = data.lifeTimeStats.reduce((agg, cur) => { agg[cur.key] = cur.value; return agg; }, {}); const score = lifeTimeStats['Score']; const top3 = lifeTimeStats['Top 3'];