def videos_index_json(course):
 return JsonResponse({'videos': _get_index_videos(course)}, status=200)

def videos_index_json ( course ) : return JsonResponse ( { 'videos' : _get_index_videos ( course ) } , status = 200 )
returns json in the following format: "videos": [{ "edx_video_id": "aaaaaaaa-aaaa-4aaa-aaaa-aaaaaaaaaaaa" .