fixed invalid Content-Encoding that fails when used with Cloudant