Linq extension to flatten a hierarchy