Conveniently de-/serialize types to/from netsuite.