I need a Python program that allows me to manage daily tasks. The program should run in the console (CLI) and store all tasks in a local JSON file so that tasks are not lost when the program is closed.