adding encode_jobs endpoint