Add validator for batch inserts + wrap try/catch