After a good bit of suffering I found a simple solution of just using a plugin to convert the list of things to JSON and use the result of that action as the input for the API call…