allow downloading of JSON via the UI