json editing improvements