Fixing the serialization problems in AntiCacheBlock. serializing payload struct by hand instead of relying on BerkeleyDB to do it for us