fix failed assert on parsing json result