add getAllSubjectsforJSON function and cleanup JSON formatting for subjects
Merge pull request #16 from chrisprom/master

flatten subjects json and change to batch_start