@Override
    public void toData(final DataOutput out) throws IOException {
      DistributedMember me = InternalDistributedSystem.getAnyInstance().getDistributedMember();
      DataSerializer.writeObject(me, out);
    }
Make sure that value is only deserialized in cache whose application asks for the value.
geode-core/src/distributedTest/java/org/apache/geode/cache30/RemotePRValuesAreNotDeserializedRegressionTest.java