Serialize to json
Map<String, dynamic> toJson() => Serializer.moveFromExtraDataToRoot( _$MessageToJson(this), );