convert json into pp::Var