Converts this permission info to a JSON-serializable map.
Map<String, dynamic> toJson() => { 'type': type, 'description': description, };