Changed from_ical to output json.