Change OUTPUT-UGLY-OBJECT to resemble a pprint function.