public static ai.lib.utils.Props FromRemote(this remote.Props rm)
 {
     ai.lib.utils.Props o = new ai.lib.utils.Props();
     for (int i = 0; i < rm.Names.Count; ++i)
     {
         o.Set(rm.Names[i], rm.Values[i]);
     }
     return(o);
 }
 public static remote.Props ToRemote(this remote.Props rm, ai.lib.utils.Props o)
 {
     // Pass unresolved values.
     rm.Names.AddRange(o.Names);
     foreach (string name in o.Names)
     {
         rm.Values.Add(o.GetRaw(name));
     }
     return(rm);
 }