def _build_namespaces_dict(new_prefixes, defaults):
    """
    It merges the default list of namespaces with a

    :param new_prefixes:
    :param defaults:
    :return:
    """
    for a_key in new_prefixes:
        defaults[a_key] = new_prefixes[a_key]
    return defaults
