Serializer for primitives for Undo gem.