Converts this class object into a JSON value.
@override Map<String, dynamic> toJson() => { "contentType": contentType, ...additionalFields, };