score:1

Accepted answer

It looks like you just need to map() the returned Data to the appropriate format (here using destructuring):

var forFunnel = out.Data.map(({ Value, Stage }) => [Stage, Value]);

Related Query

More Query from same tag