def METHOD_NAME(request):
    """
    Ajax function to find people.  Takes one or two terms (ignores rest) and
    returns JSON format response: first name, last name, primary email, tag
    """
    result = []
    term = request.GET.get('term','')
    qs = Person.objects.filter(name__icontains=term)
    for item in qs:
        full = '%s - (%s)' % (item.name,item.id)
        result.append(full)
    return HttpResponse(json.dumps(result), content_type='application/javascript')