private Map<QueueType, Team.QueueStat> convertStats(JsonObject statSummaryObject)
	{
		JsonArray statsArray = statSummaryObject.getArray("teamStatDetails");
		
		//Might not exist in the response if no games have been played (not sure)
		if(statsArray == null)
			return new TreeMap<>();
		
		Map<QueueType, Team.QueueStat> stats = new TreeMap<>();
		for(int s = 0; s < statsArray.size(); s++)
		{
			JsonObject statObject = statsArray.getObject(s);
			QueueType queue = QueueType.getFromGameValue(statObject.getString("teamStatType"));
			Team.QueueStat stat = new Team.QueueStat(statObject.getInt("wins"), statObject.getInt("losses"), statObject.getInt("averageGamesPlayed"),
					statObject.containsKey("rating") ? statObject.getInt("rating") : -1,
					statObject.containsKey("maxRating") ? statObject.getInt("maxRating") : -1,
					statObject.containsKey("seedRating") ? statObject.getInt("seedRating") : -1);
			stats.put(queue, stat);
		}
		return stats;
	}