public Dictionary<string, string> SerializableItems(Dictionary<string, object> items) { var to = new Dictionary<string, string>(); foreach (var item in items) { var value = item.Value?.ToString() ?? "(null)"; to[item.Key] = value; } return to; }