add json editor support