Add an indent util
Change http errors to work with the pretty printing util changes