'Return obj.name instead of display_name to handle users without
a valid display_name.'

def to_representation(self, instance):

    data = super(AccountSerializer, self).to_representation(instance)
    data['display_name'] = instance.name
    return data
