add share words for each edge, Words are store as json dumps