[!!!][TASK] Do not add JSON to header if type equals "json"