Normalize terminology to 'marshal' for bidirectional and 'serialize'/'deserialize' for unidirectional.