public static JsonValue WriteDrop(Drop drop) { var o = new JsonObject(); o["type"] = drop.GetId(); drop.Save(o); return(o); }