I have two HTML tables that I need to merge together, and then output the result as a separate table.

The function objectify() finds each of the pre-merge tables and puts their data into objects in the following format: 
It is from this point onwards things get tricky. My standardise() function loops through each object, placing the header and date values into arrays, and then calling removeDuplicates() to remove the duplicates (self-explanatory).
However, when it comes to merging each of the objects together and outputting the data into a table, I cannot think of how to do it. So far, I can only figure how to output the table headers, like so:

Here is a link to my codepen. Any help would be appreciated.