Override Attachment.toString() to output JSON