Reformating data model to use a tree + pretty printing