fix handling of internal node format in newick web service