Serialization support

Serialization support in order to use hazelcast as distributed cache.