add json save to editor