Encode opening brackets in contextDump helper

Should this be part of jsonFilter function?