save To
Saves the data in the container to the specified output stream.
This method uses the provided SerializerStrategy to serialize the data.
Parameters
output
The output stream to which the data will be saved.
serializer
The SerializerStrategy used to serialize the data.