Add support for JSON config files

I find JSON files to be more convenient to edit and work with in diffs. This adds support for DB5.json files.