Changed so table outputs are in nested lists instead of BeautifulSoup form - should also lead to incremental runtime improvements