Converts this Bonsoir class to a JSON map.
@override @protected Map<String, dynamic> toJson() => super.toJson()..['type'] = type;