Set non-pointer receivers to indicate no side effects
Unmarshal tx metadata fields into correct types