Adds style improvements. Fixes a bug with pretty JSON printing.