Serialize the extra fields in coin cache. Fix tx undo records.