static S ai_fix(S s) { s = trim(s); if (startsWith(s, "{") && endsWith(s, "}")) s = trim(dropFirstAndLast(s)); ret s; }