Returns a valid config.json of the setup. In case of distributed setup, it checks if quorum or more number of nodes have the same config.json.