String outId = srcId.toString();
String inId = edge.getTargetVertexId().toString();
String value = edge.getValue().toString();
JSONObject jsonEdge = new JSONObject();
jsonEdge.accumulate("_outV", outId);
jsonEdge.accumulate("_inV", inId);
jsonEdge.accumulate("value", value);
return jsonEdge;
}