restore nesting of parent subjects
Merge pull request #33 from chrisprom/master

restore nesting of parent subjects in JSON