Adding extension for attachments

this is pretty vague: "a value". i think you mean the body part should contain the contents of the value property of the associated `data` object, right?