Fix serialization issue with hazelcast