Closing as "way out of scope." The JSON API allows one to store whatever text format he wants as a wiki page, provided the client is willing to deal with the data format somehow (e.g. client-side rendering).