def prepare_list_entries(tag="", prefix="", string_list=[], suffix=""):
    """
    Used to create lists of objects ready for rendering with
    Mustache sections.

    Examples:
    [ {'filename': '../source_dir/A.cpp'}, ... ]
    [ {'dirname':  '..\..\includes'},   ... ]
    """
    return [{'{0}'.format(tag): '{0}{1}{2}'.format(prefix, S, suffix)} for S in string_list]