```
const a = {
  0: { country: "france", date:"sfzef"},
  1: { country: "italie", date:"ttttt"},
  2: { country: "belgique", date:"zzzee"}
}

let obj = {}
for (const property in a) {
  obj = {...obj, `${a[property].country}: ${a[property]}`}
}

```

I would like to have : 

```
obj = {
  france: { country: "france", date:"sfzef"},
  italie: { country: "italie", date:"ttttt"},
  belgique: { country: "belgique", date:"zzzee"}
}

```

I've been trying for 4 hours, thanks in advance to the one who will help me