Encode opening brackets in contextDump helper