Adds support for parsing json files in addition to yaml files
use let for the test vars
Merge pull request #35 from agargiulo/master

Adds support for parsing json files in addition to yaml files (closes #20)