added option to compress DOS json