This impl is OK but maybe we want to make a todo item to iterate them lazily instead in the future.  In the MX bean we return a list so we need them all up front, but the enumerator could be iterated at any speed and to any depth, so getting the whole list in this case is probably unnecessarily pessimistic.