(models) SwitchUtil.visit skips null objects