Add method to FileIO to convert tasks to JSON.