Encode opening brackets in contextDump helper

we prolly only need this in the else case. console.log AFAIK is pretty safe.