Format a stream to make it more human readable