add some ref counts in editor simple json model