Add cpp code to deserialice a RemoteObject

Change-Id: I2400b14e8f2c4304fac33519c6326fa284f724da