This returns a JSON representation of this discovery.
Map<String, dynamic> toJson() => _discoveryAction.toJson()..['type'] = type;