Add tree to string conversion