include type information in runtime serialization exceptions