fixes #4246 - add JSONInput formalizer

Adding a formalizer that can take as input either
a json string or path to a json file.
Merge pull request #77 from bbuckingham/issue-4246

fixes #4246 - add JSONInput formalizer