Abstract autocomplete ajax method into get_object_data