Added modelToTree and Tree Restify Path to export model to a tree node format compatible with d3