'arraysAsPrimitives' option to not merge arrays, but overwrite them