Avoid duplicate values in graph data

Should be more efficient in page rendering and disk usage for dropbox