Returns a JSON representation of the map.
Map<String, dynamic> toJson() => { for (var entry in entries) entry.key.toString(): entry.value, };