if $json_conf pass in an array for host.