There is no single action that can generally 'take that output and put it in a different JSON format'.
It all depends on the new JSON schema.
The actions “Compose” and “Select” are likely involved.
You could show us an example of the data and the new structure.