Reformatting $http requests for easier reading