Takes graphml and converts it to json for use in D3