Add arrayContainer.serializedSizeInBytes.

This commit attempts to improve the accuracy of arrayContainer.getSizeInBytes, and adds arrayContainer.serializedSizeInBytes.