To export files in JSON or CSV format go to a folder inside of media library
Select files you want to export either one by one or by selecting all loaded files.
If you have more then 50 files you will need to keep scrolling until you have a full list of files you want to export.
After you select them you will see the export button
Select output format and click Save, the download will start in a few seconds.