<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def make_exporter_resources(nb_name, out_folder, images_folder=None):
 """ Creates resources dict for the exporter """

    resources = defaultdict(str)
    resources['metadata'] = defaultdict(str)
    resources['metadata']['name'] = nb_name
    resources['metadata']['path'] = out_folder

    # This results in images like AB_5_1.png for a notebook called AB.ipynb
    resources['unique_key'] = nb_name
    resources['output_files_dir'] = images_folder

    return resources