codemirror editor correctly displays json config file