Added headers to requests cause element tree was failing at times due to text responses from JSS