Make everything in an RDD serializable
Unmark EdgePartition fields as transient