OGM-264 Making sure id generator keys can be serialized/deserialized with Infinispan