batch insert takes binary json encoded or list of tuples