custom Vector pickler/unpickler