add content-type json to header