I want to make Json a tree in typescript

enter image description here

I want to create a list by integrating overlapping values into one group, such as address, but I don’t know what to do. Help me.

{
  name: 'Leanne Graham',
  username: 'Bret',
  email: '[email protected]',
  address: {
    street: 'Kulas Light',
    suite: 'Apt. 556',
    city: 'Gwenborough',
    zipcode: '92997-3874',
    geo: {
      lat: '-37.3159',
      lng: '81.1496'
    }
}

I think I can render it only if I make it like this, but what should I do?