Add JSON config file support.