display tree for generating custom displays from templates in model definition