Added ScheduleFromJson, the custom Json parsing class.