prefer xml for trees, json(ld) for graphs?