Update formatting of writeStream data