gras: use property tree to make xml - much smarter