allow couchdb attachments in publish