We use JSON for graphs. What sucks about it? In what sense is XML better at representing graphs?
XML is only a series of nodes and attributes. There isn't really anything else special about it and it's trivial to represent it in JSON so I'm not sure I follow your issue. Could you provide an example?