Adding support for JSON configuration