mulformed JSON error handling

Response body isn't always JSON format. (ex. timeout or proxy error etc.)