fix obj gen documentation test
M156: for performance, remove type safety check on deserialization