Running OJS as a Headless CMS, JAMStack: Discussion

I am very interested in this topic. I have a new journal that is using OJS primarily as a submission management system. We have a separate journal website I built with Hugo. I’m planning to setup a production workflow that uses Pandoc to convert manuscripts from DOCX to Markdown, HTML (via Hugo), PDF (via ConTeXt), and JATS XML (I think Pandoc could also generate an OAI feed?). I would be nice to access the submission metadata (and maybe even the files) from the OJS API to generate YAML headers for the Markdown files. I’m very new to OJS, but would love to chat with anyone working through similar processes.