Stripped newline at end of tree string in c++ code; added partition name to model json in python code