Added pretty print function for requests