@staticmethod
def _merge_two_dicts(dict_a, dict_b):
    """Given two dicts, merge them into a new dict as a shallow copy."""
    dict_out = dict_a.copy()
    if dict_b:
        dict_out.update(dict_b)
    return dict_out
