import the format_preprequest function
introducing a last_request pulp attribute
introducing pprint for json-parseable response.text attributes