reads json file and saves to db