Encode opening brackets in contextDump helper

console.logging with open brackets is not an issue. chunk.write with open brackets is.