get the json from the model
Map<String, dynamic> toJson() => { "id": id, "name": name, "slug": slug, "games_count": gamesCount, "image_background": imageBackground, };