def convert_date_to_strings(obj):
    """ Function used to convert date objects to string.

    :param obj: object
    :return: object with date objects converted to strings
    """

    for bucket in obj.get('response', {}).get('Buckets', []):
        bucket["CreationDate"] = str(bucket["CreationDate"])

    return obj