Patched __repr__ method to avoid dumping entire web page in failure view