def upsert_box(data, newdata, who):
    """
    Given a new box, figure out if an existing box needs to be destroyed.
    If it appears to be the same thing, merge the two boxes or overwrite the old one.
    """
