Changed local datastore: no more json files but plain txt
Refactoring: rename variable