Adding a convenience converter to asdict