I want to convert my array into an object how can I do this? [closed]

This is my data:

let player = [
  {
    id: 0,
    identifiers: [
      "steam:1100001441b3018",
      "license:2c02c78f43961914486bae84a61783ba6c2b430e",
      "xbl:2535449350057367",
      "live:914798768384234",
      "discord:543673106997182471",
      "fivem:2462691",
      "license2:ed49169822549dc81c8a7a77be1bf57b69de8a94",
    ],
    ping: 93,
  },
  {
    id: 2,
    identifiers: [
      "steam:1100001441b3018",
      "license:2c02c78f43961914486bae84a61783ba6c2b430e",
      "xbl:2535449350057367",
      "live:914798768384234",
      "discord:543673106997182471",
      "fivem:2462691",
      "license2:ed49169822549dc81c8a7a77be1bf57b69de8a94",
    ],
    ping: 85,
  },
  {
    id: 1,
    identifiers: [
      "steam:1100001441b3018",
      "license:2c02c78f43961914486bae84a61783ba6c2b430e",
      "xbl:2535449350057367",
      "live:914798768384234",
      "discord:543673106997182471",
      "fivem:2462691",
      "license2:ed49169822549dc81c8a7a77be1bf57b69de8a94",
    ],
    ping: 90,
  },
];

I want to convert my data like this:

let player = [
  {
    id: 0,
    identifiers: {
      "steam" : "1100001441b3018",
      "license" : "2c02c78f43961914486bae84a61783ba6c2b430e",
      "xbl" : "2535449350057367",
      "live" : "914798768384234",
      "discord" : "543673106997182471",
      "fivem" : "2462691",
      "license2" : "ed49169822549dc81c8a7a77be1bf57b69de8a94",
  },
    ping: 93,
  },