We weren't setting content-type header on json http requests