Add support for JSON-based config file