I can’t elaborate too far on that particular project but essentially you have JSON from the receive so you could manipulate it as you see fit before sending it to the send command. For example, you could loop over all of the objects and remove any users populated in the roles sections.
-John