reads data from a JSON file and import to data base