I have the following json object, all levels of the object can be repeated.
{
  "Datacenter1": {
    "prd1": [
      "clone"
    ]
  }
}
{
  "Datacenter1": {
    "prd1": [
      "rrr"
    ]
  }
}
{
  "BackupSite": {
    "prd2": [
      "vol2"
    ]
  }
}
Is it possible to create a consolidated object using jq that will look like this, objects will be consolidated and lists within the object will be concatenated. I'm looking for a general solution that will work on any type of structure and depth.
{
  "Datacenter1": {
    "prd1": [
      "clone",
      "rrr"
    ]
  },
  "BackupSite": {
    "prd2": [
      "vol2"
    ]
  }
}
