Assorted tools for generating MEG XF format in JSON