Refactored the prettify code so to reduce the required imports by leveraging implicits