fix JSON encoding in couch_httpd_db:send_docs_multipart/3