broken urls becuase we were setting docid, instead of doc in the json