Fixes #10: invalid json input files.
Merge pull request #11 from zbeekman/json-input-fix

Fixes #10: invalid json input files.