In #136, code was developed to export datasets from the USAXS instrument into a JSON text file. Generalize that code and contribute to `apstools.utils`.