Description
From reading the Axiom tutorial the serialize() method is supposed to serialize without caching the stream, in which case the object model is not supposed to be built. Calling serializeWithCache() forces the object model to be built (if not already constructed) along with the serialization.
However, it looks like the serializeWithCache() method is no longer part of the API, and the serialize() method has changed to work the way serializeWithCache() originally did while a new serializeAndConsume() method does what serialize() was originally supposed to do. This creates serious confusion for anyone trying to understand Axiom and track down problems on the basis of the tutorial.