Endpoint decorator unicode exception

This seems to fix it.  @manthey Maybe you can suggest a test case where `repr` is needed.  It is a bit complicated by the fact that the value is an object.
Another test would be an exception of
`raise Exception('\x80\x80 cannot be converted to ASCII or UTF-8')`