The assumption is that only the memory connector changes the json file. But we can make it more robust.