Updated import to work in the CLI with a config option.
Using Cheshire for JSON now.