Added convertToJson() in GraphWrapper + gson libs