Add directed graph (un)serializing