marshal and unmarshal in pubsub
remove alexandra pubsub methods, put in pubsub element and module