Added visualization output example
Added better json escape function to the visualize example
Added visualize docs for a test replay