This makes debugging code gone wrong a bit simpler.
Also fix other __str__ function to use __repr__ as well, to make it
consistent that objects which want representations implement __repr__
and not __str__.
Change-Id: I6913da8f3ef6a4632d5f1c9d6ed26a38cdcd5e73