pothos-python: using python marshal for serialize hooks
pothos-java: dummy serialization hooks so it compiles