Gob encoding with indirect (pointer) support