AtomicVariable constructor automatically calls serialize contents.
However, AtomicMap (and AtomicList, NonAtomicMap/List) need additional
information to actually serialize properly.  Passing additional
parameter through serialize_contents to allow passing that information
in.