NYCCHKBK-3571 - moved building of table to generic function, data remains the same and is now added to arrays instead of directly to html.