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

Now handles config and other files being json instead of yaml.