Refine error message passed when shipment, cancellation, or return cannot be serialized