def merge_dicts(src, dst):
    """
    Merge entries from 'src' into 'dst'.

    :param src: source dictionary
    :param dst: destination dictionary

    """
    for k, v in src.items():
        if k not in dst:
            dst[k] = v
            continue
        if type(dst[k]) is dict:
            dst[k] = merge_dicts(v, dst[k])
            continue
        if type(dst[k]) is list and type(v) is list:
            dst[k].extend(v)
            continue
        dst[k] = v
    return dst