 => {
        try {
          let schema = JSON.parse(params.value.grammar)
          const converter = new SchemaConverter({
            prop_order: grammarJsonSchemaPropOrder.value
              .split(',')
              .reduce((acc, cur, i) => ({ ...acc, [cur.trim()]: i }), {}),
            allow_fetch: true,
          })
          schema = await converter.resolveRefs(schema, 'input')
          converter.visit(schema, '')
          params.value = {
            ...params.value,
            g