Fixed response text processing for JSON errors
0.1.17