Allow serialization of arbitrary types

This type signature change is required to allow the serialization of any
"foregin" type that has been registered with an EdnTranslator.