def METHOD_NAME(request, **kwargs):
    """Provide JSON data for creating thumbnails.
    Args:
        request: The HTTP request.
    Returns:
        JSON response is sent containing data for thumbnails.
    """
    data = list()
    if request.GET.get("all_languages", False):
        languages = settings.DEFAULT_LANGUAGES
    elif request.GET.get("language", False):
        languages = [(request.GET.get("language"), "")]
    else:
        languages = [("en", "")]
    for language_code, _ in sorted(languages):
        with translation.override(language_code):
            for interactive in Interactive.objects.order_by("slug"):
                url = reverse("interactives:centered_interactive", args=[interactive.slug])
                data.append(
                    [
                        interactive.slug,
                        language_code,
                        url,
                        get_thumbnail_static_path_for_interactive(interactive),
                        interactive.is_interactive,
                        interactive.use_large_thumbnail,
                    ]
                )
    return JsonResponse(data, safe=False)