If you have a value in text mode, it will treat the output as a text string.
If you set the value to formula mode, it will treat the output as an object (array or JSON object, depending on the output of the functions used)
You can change the language type in the builder as shown below:
Sample event output:
In this example:
text_mode
treats the output as a text string,
formula
outputs an array object