How to get one random item from every array

Some endpoint returns

`

{
“filters”: [
{
“code”: “first_filter”,
“values”: [
{
“id”: 1,
“label”: “A”,
“count”: 10
},
{
“id”: 2,
“label”: “B”,
“count”: 12
},
{
“id”: 3,
“label”: “C”,
“count”: 14
}
]
},
{
“code”: “second_filter”,
“values”: [
{
“id”: 4,
“label”: “AA”,
“count”: 11
},
{
“id”: 5,
“label”: “BB”,
“count”: 22
},
{
“id”: 6,
“label”: “CC”,
“count”: 33
}
]
},
{
“code”: “third_filter”,
“values”: [
{
“id”: 7,
“label”: “AAAA”,
“count”: 11
},
{
“id”: 8,
“label”: “BBBB”,
“count”: 22
},
{
“id”: 9,
“label”: “CCCC”,
“count”: 33
}
]
}
],
“counter”: 55
}

`

The number of filters is random, is between 1 and 6;

In the end, i want to obtain, for every code, one random label;
either :
first_filter = A , second_filter = BB , third_filter = CCCC
or

filters = ?first_filter=A&second_filter=BB&third_filter=CCCC

How can i obtain this ?