let dictionary = Object.assign({}, ...data.map((x) => ({[x.id]: x.country})));