Issue #53.

This commit introduces an option to choose between
optimized serialization of collection
and treating them as standard user objects.