Fix model JSON editor when model is defined inside Interactive JSON

[#58080048]