_writeArray
private fn
void _writeArray(W)(const var value, ref W buf, const JsonWriteOptions opts,
uint depth, ref JsonWriteScratch scratch) @safeWrite an array value.
Iterates via the const element range instead of as!(var[]), which duplicated the whole array on every serialization (N037).