Good evening! There is a script that converts data into an array, I would like to know how it can be upgraded so that you can convert and extract data for each object (arb, astar, aurora, avax, baba, bsc, etc.), the data in the screenshot.
The script for converting data into an array (currently extracts only from bsc):
var data = {(Screenshot)};
var output = Object.keys(data.bsc.token_dict).map(k => data.bsc.token_dict[k]);
console.log(output);

Give this a try:
const output = Object.entries(data)
.map((k, v) => ({chain: k, token_dict: Object.values(v.token_dict)}));