Serializes this message to a JSON map.
@override Map<String, dynamic> toJson() => <String, dynamic>{ 'tree': tree };