add tree loading and reduction analyses
picojson wrapper functions