always returns res.headers as JSON object