Added schedule abstraction for parsing json file in useful form