use json parsing of db_hosts