For second and subsequent children, include parent's ID. Also fix a stringbuffer output to string
The top level project needs slightly different key names to child tasks
Support writing the json to a file, if requested
Durations need to be hours not days, and the rules about prevTaskId turn out to be quite complex...