encode, decode, and dump new fields