Added 'flattened_list' method. This method removes the heirarchy entirely.
Useful for global searches, etc.