Make arrayEncode encode in legacy format by default