Drop unnecessary `type_name` argument to `#encode` and `#decode`.

Missed a obvious refactoring earlier when making ruby type impls of askari types object-y.