load task with child tasks into one json structure