Fix broken json from last editor