    for i in terms {
        v.push(i.term)
    }

    let res: serde_json::Value = json!({
        "res":{
            "terms":v,
            "nowTerm":v.last().unwrap()
        }
    });

    Ok(res)