Fix header debug output

`[object Object]` isn't real helpful, and we'll throw in some extras
while we're at it.