No longer accept gzip response from SG, improved checks for application/json type for docs with no attachments