Adding ability to save arbitrary values, using the gob system