Use response_to_attr instead of response_to_json