Use gob encoder instead of custom format