Export BAQ to JSON?

PS - Here’s a version of the script that exports all BAQs (data or design)