@dora_paz has suggested correctly
I used a label to replicate the file i/o
It is confusing because they look the same, but one is a string, the other is an object (a dictionary / list)
It works with tinydb because tinydb saves the dictionary as an object and returns it as an object (even though it looks like a string ). tinydb does the same with saved lists.