See below the original dynamic data type and a transformed nested data type in an array.
# Original dynamic data type
"server_zones": {
"hg.nginx.org": {
"discarded": 1732,
"processing": 0,
"received": 9404252,
"requests": 33082,
"responses": {
"1xx": 0,
"2xx": 29893,
"3xx": 857,
"4xx": 453,
"5xx": 147,
"total": 31350
},
"sent": 943707757
},
"trac.nginx.org": {
"discarded": 396,
"processing": 1,
"received": 16824065,
"requests": 47339,
"responses": {
"1xx": 0,
"2xx": 22694,
"3xx": 21060,
"4xx": 3061,
"5xx": 127,
"total": 46942
},
"sent": 771492649
},
"lxr.nginx.org": {
"discarded": 112,
"processing": 0,
"received": 888931,
"requests": 3684,
"responses": {
"1xx": 0,
"2xx": 3361,
"3xx": 125,
"4xx": 80,
"5xx": 6,
"total": 3572
},
"sent": 82231555
}
},
# Transformed nested data type
"server_zones": [{
"name": "hg.nginx.org",
"discarded": 1732,
"processing": 0,
"received": 9404252,
"requests": 33082,
"responses": {
"1xx": 0,
"2xx": 29893,
"3xx": 857,
"4xx": 453,
"5xx": 147,
"total": 31350
},
"sent": 943707757
}, {
"name": "trac.nginx.org",
"discarded": 396,
"processing": 1,
"received": 16824065,
"requests": 47339,
"responses": {
"1xx": 0,
"2xx": 22694,
"3xx": 21060,
"4xx": 3061,
"5xx": 127,
"total": 46942
},
"sent": 771492649
}, {
"name": "lxr.nginx.org",
"discarded": 112,
"processing": 0,
"received": 888931,
"requests": 3684,
"responses": {
"1xx": 0,
"2xx": 3361,
"3xx": 125,
"4xx": 80,
"5xx": 6,
"total": 3572
},
"sent": 82231555
}],