little add to the webapp to allow trees to dump trees using pickle