Returns a JSON representation of this object.
Map<String, dynamic> toJson() => { ApiFields.path: items.map((item) => item.toJson()).toList(), };