cleanup ascii API output