fixes _transformResponse headers