MultiQC creating tables with a string content

Hello, I am trying to create a table in MultiQC, with this structure:

{‘Version’: ‘1.6’, ‘Sort Order’: ‘coordinate’, ‘Genome Assembly Identifier’: ‘N/A’, ‘Platform’: ‘Illumina’, ‘Library’: ‘N/A’, ‘Programs’: ‘samtools | samtools.1’}

I keep this information in a variable named “data”. After that I run:

table.plot(data)

I understand I am following the multiQC documentation schema, but it keeps passing me the same error: AttributeError: ‘str’ object has no attribute ‘data’

Any ideas?

I would really appreciate your help!