ENH: Add serialization to account