Yes, perhaps, but a transformer can transform the entire message, not just the payload. It just seemed, to me, to be the correct thing to do in this case.