JSON comment in MDX view created by Arc

mdx
views

#1

I thought it would be a nice feature for bedrock 4 to be able to create the comment that’s needed by Arc in order to “interpret” the view (that is which dimensions are in which positions). However the json inside the comment is well, … heinous. To make the task doable given TI’s somewhat limited abilities in parsing json, what is the bare minimum in terms of view definition which Arc needs/expects in order to be able to open the view as a view as opposed to just execute the MDX with a static grid?
Is it possible to get a spec of the “bare minimum header comment” if it exists?