Add hooks for field transformation and for asdict serialization (#653)

11 files changed