Any reason not to just output ``cat1 \t cat2`` as the first two columns and then split on ``,``. That is something that users would need to do any time they parse this file. It would also make explicit which is ``cat1`` and which is ``cat2``.