Corrections to vectors of vectors serialization

Many tests fail due to recent refactoring,
These changes correct some of the tests.
10 more remain to be repaired.