Fixed bug incorrect JSON when analysing only 1 file.

The enclosing object notation "{" and "}" were missed out
when analysing only a single file, breaking the ecomp batch parser.

Now single file batches are modeled as a collection of one object.
Merge pull request #1 from igilham/master

Fixed bug incorrect JSON when analysing only 1 file.