workin on database insert of json file