[cleanup] Use the new Attachment serialization format