Adding support for pretty print in unparse()

Implements the enhancement proposed in #26