get tasks from json (file)