Fix json response parsing

In the case input is af (Afganistan), the english word is 'beta', the response couldn't be json parsed.