More testing and tweaking of JSON pretty print.