correctly emit bigints