json-parser: speedup by batch update and manual commit