We currently only support serialization of scalar error parameters and stringify them to align with a longstanding bug in the conjure-java. This is now being resolved - errors registered explicitly with endpoints are now serialized properly.
We should figure out how to make this change as well. Like in the Java implementation, we'll have to be careful to not break backwards compatibility with clients expecting to receive stringified parameters.