fixed beast xml function to provide newick inittree