Updating json format and referencing igraph