Get the toolbox plugin. It has a Run Javascript action where you can pass in dynamic values, manipulate them, and then use Javascript to Bubble element to access the finished value. Here is a thread that looks like it somewhat explains the process:
Your javascript code would look like this:
let result = JSON.parse(dynamic value from api)
Then follow the steps to pass the result to your element in bubble.