Fancy debug error output formatting for readability.  Print out request and response json in pretty format when displaying errors