INIT sample: using json module to write/read file