adding pretty printing of http responses