Added support for JSON configuration file