Shallow copy and merge dicts together, giving precedence to last in.

def _merge_dicts(*args):
    '''
    Shallow copy and merge dicts together, giving precedence to last in.
    '''
    ret = dict()
    for arg in args:
        ret.update(arg)
    return ret