[JsonParseAgent] Check return value of json_node_get_string() to avoid crash