Pretty-print module objects

Fix #25.
Merge branch 'issue-25' into develop