use long value of Id rather than serializing