Removed unsafe headers and content-type to JSON.