Converts this action to its JSON representation.
Returns the raw JSON data associated with this action, or an empty map if no data is available.
Map<String, dynamic> toJson() => jsonData ?? {};