Nested JSON array with changing object contents

Hi

Can anyone help me with how to set up this kind of nested JSON object?
The dictionary objects are all different for Computer, OS, BIOS, Monitor etc, some even have multiple data arrays.

{
“_id” : ObjectId(“6009b46d52f36b060f043147”),
“dictionary” : [
{
“name” : “Computer”,
“data” : [
{
“Name” : “Precision T3610”,
“Manufacturer” : “Dell Inc.”,
“Product Name” : “Precision T3610”,
}
]
},
{
“name” : “Operating System”,
“data” : [
{
“Name” : “Microsoft Windows 10 Enterprise”,
“Edition” : “Enterprise Edition”,
“Version” : “10.0.18362”,
“Release” : “1903”
}
]
}
]
}