Converts to JSON.
Map<String, dynamic> toJson() => { 'object': object, 'data': data.map((e) => e.toJson()).toList(), 'has_more': hasMore, };