Add subfolders to Edge favorites via InTune

I’ve been asked to create favorites in Edge to be rolled out via InTune. The wish was to have a structure with folders and subfolders, like this;

Main folder
– URL1
– Subfolder
— URL2
— SubSubFolder
— URL3

I came across a lot of forum posts but could not find a nice template for this, so i created one;

[
{
"toplevel_name": "ITerrors.com"
},
{
"url": "ITerrors.com",
"name": "ITerrors"
},
{
"url": "Office.com",
"name": "Office 365"
},
{
"name": "Subfolder1",
"children":
[
{
"url": "https://example.com/",
"name": "Twitter"
},
{
"name": "SubSubfolder1",
"children":
[
{
"url": "https://example.com/",
"name": "Twitter"
},
{
"url": "https://www.example.com/",
"name": "LinkedIn"
}
]
}
]
}
]