driver.php gets the json file from the database