Buffered json_commit for small speedup