headers of a response are now reutrned as dict