For example, i got a result of a script in an object:
const keys = data.map(item => item.key);
How to render the keys array to the confluence page?