added response variables
added def. error message if response is not json based string
added actual non-json text to message