Skeleton of Graph->BSON serialisation