Handle options to parse JSON or XML response bodies.