repackage request/response