Reset json when building model definition