If it's machine-machine comms, just use an API
Seems dumb to create some other representation when we have an ubiquitous machine readable format that Ai understands quite well