Convert to JsonMap
@override Map<String, dynamic> toJson() => { 'createBucket': createBucket, 'contentType': contentType, 'isPublic': isPublic, 'tags': tags };