The code was too clever and failed to include zeros on a big.Word boundary.
The new package is purpose-built to handle the encoding consumed and produced by the RPC API.