Add support for JSON config files

If 'DB5.plist' is found, it will be used; otherwise 'DB5.json' will be
used.