I'm also working with Brazilian instant payments schema, aka PIX. We've simply created a mapping layer to convert all ISO messaging to json.
Internally all our logic runs on json. It works because at the end of the day, payments only need a few fields to work: Source, Destination, Amount.