Run sql from json files