added pretty JSON output formatting
fix comment typos