Switch in/out degree for neighbor rank

Edges point in the direction of time, or influence. That means we're
concerned with outdegree (amount of nodes influenced by the current
node), not indegree (amount of nodes that influence the current node).
Add utilities for graph storage as compressed JSON