allow json in cfg
Merge pull request #3 from colwilson/master

Allows json in cfg file