use CodeMirror editor for JSON blocks