Fixed deserialization part in define_method in response_for. On the side note I'm quite shocked this bug stayed hidden for so long..