more-sane string serialization of data attachments