Collect all exceptions during serialization and continue as far as possible. Throw a collected exception in th end. (#678)