Use .attrs instead of .txt for request/response definitions