You can’t change a string to an object by editing the outputs of a plugin. You can further define an objects output, but its not the same. What you most likely need to do is use the type converter plugin to convert the string to and object and there define the outputs according to what you expect so that you can loop over it.