fix array serialization again

this should fix the bug exposed by https://github.com/welaika/wordmove/pull/35