Workflow definition as Json

Hey, we are writing a service that would serve external clients, using Camunda as process management engine (transparent to the clients).

We are exposing Json API, and in order to remain consistent, we like to expose Json API for the workflow management as well.

Before we start implementing a mechanism of our own converting the XML to Json, is there such mechanism implemented in Camunda? I could not find anything as such in the documentation

Please take a look at this.