CompactWriter to get rid of \t and \n