Fixing Ports.js to always convert to wire format.