def METHOD_NAME(self, content):
    table_data = {}
    if "gc" in content and "coverage" in content:
        # GCP
        table_data["kmer_peaks"] = content["coverage"]["nb_peaks"]
        table_data["mean_kmer_freq"] = content["coverage"]["mean_freq"]
        table_data["est_genome_size"] = content["coverage"]["est_genome_size"]
        table_data["gc_peaks"] = content["gc"]["nb_peaks"]
    elif "main_dist" in content:
        # Spectra CN
        table_data["kmer_peaks"] = content["main_dist"]["nb_peaks"]
        table_data["mean_kmer_freq"] = content["main_dist"]["mean_freq"]
        table_data["est_genome_size"] = content["main_dist"]["est_genome_size"]
        table_data["gc_peaks"] = 0
    elif "k" in content:
        # Hist
        table_data["kmer_peaks"] = content["nb_peaks"]
        table_data["mean_kmer_freq"] = content["mean_freq"]
        table_data["est_genome_size"] = content["est_genome_size"]
        table_data["gc_peaks"] = 0
    else:
        log.error("Unexpected JSON configuration")
    return table_data