Separated out XHR request from GEXF parsing code