Produce a tree that the front end can display.