JSON saving now works for schedules