def content_by_name_substring(content, name):
    """
    :type content: dict
    :param content: The python dict form of the content that has been returned from a query to KairosDB

    :type name: string
    :param name: This is the string that will be used to match, as a lowercase substring, the things that we want to return.

    :rtype: list
    :returns: The list of pairs of [timestamp, value] that matched

    When you've got content, but only want to look at a piece of it,
    specifically the values that are provided for a particular name, then use
    this function.

    and this will be turned into a python struct.  This function will
    return a list of dicts that matched the provided name.

    """
    r_list = list()
    for q in content["queries"]:
        for r in q["results"]:
            if name.lower() in r["name"].lower():
                r_list.append(r)
    return r_list