Adds a helper method for generating HTML tables from collections