[SPARK-3454] Expose JSON representation of data shown in WebU

Can you put this in a variable so this is more readable?