remove encoding and decoding related items from request/response objects