now when insert or push, all nested arrays are set to []