fix for de-serializing array-objects back to ordinary arrays