export igraph/json functions