add paused/unpaused hooks and custom hazelcast serializer