Utility class to handle threaded data generated by CakePHP Model::find('threaded')