IMA now supports displaying marked zones in JSON format. You can find it under the Window menu above.