How to store local storage value as a JavaScript array [duplicate]

so I have this in my local storage at the moment.
enter image description here

I would like to store these objects into an array, so that it looks like this.
Do you guys have any ideas? Ive been stuck on this for so long…

let brickArr = [
  {brick0: { id: '0', name: 'brick0', price: 0.50}},
  {brick1: { id: '1', name: 'brick1', price: 0.50}},
  {brick2: { id: '2', name: 'brick2', price: 0.50}}
]