Move formatEntity() method from Utils class to ShowResults class to cut duplicate code, update calls to this method in codebase and test.