Fix missing responseText when json is returned

Fix missing responseText when json is returned