Added config option to toggle pretty JSON output