Hotfix to add response headers to debug output