Add hook to requests to override transformResponse