i get many json strings from a mysql DB an should combine them.

For example:

```
{
  "type": "device",
  "name": "Lampe",
  "controls": [
    {
      "type": "switch",
      "name": "Betrieb",
      "topic": "/lampe/schalter"
    }
  ]
}

```

in combination this devices should get into a array of a json file

```
{
 "name": "Test-System",
 "devices": [
 {
  "type": "device",
  "name": "Lampe",
  "controls": [
    {
      "type": "switch",
      "name": "Betrieb",
      "topic": "/lampe/schalter"
    }
  ]
},
{
  other Device

}
]
}

```

i do not understand how to do this in python 

does someone have a idea how to do it ?