Added method to render Account tree as multi-level array