Rather than using an ivar here, can you pass `raw_response` as an argument to `validate_response`?