fixed API#job_result_format to handle Content-Encoding properly