Attach data-json-editor-type attribute