Added prettyprint for dict modules

Another random addition which might be worth merging.
Hmm.. but TextRepr.repr ends up escaping the pprint formatting which is not desirable.  So it's not quite that simple :-(