Make the API get call to return also the tree.