Until you mentioned this I had no idea that qiime.format existed. :-)
I do not know if it should go there or not.