Got it. So could you check the browser console? Does anything appear there when you try to export?
(It is weird, especially for JSON which shouldn't be affected by the legend at all)