Macro for Python-Serializer + example for the Activity Multiplexer.