Rename export_json to to_json.
Re-implement export_json for exporting to a file.
Merge remote-tracking branch 'origin/master' into feature-import-json
Merge pull request #27 from mdickinson/feature-import-json

Add import_json; repurpose export_json.