DayPilot.Task(data);
This object will be stored unchanged as DayPilot.Task.data property.
var e = new DayPilot.Task({ id: DayPilot.guid(), start:new DayPilot.Date(), end:(new DayPilot.Date()).addHours(5), text: "New Task" });