terraform: Validate expands properly
config: fix gob encode/decode for raw config and keys