put case display def in model, and add automatic CommCareCare wrapping