'Override to return at least some usage info if user is anonymous.'

def serialize(self, user, keys, **kwargs):

    kwargs['current_user'] = user
    if self.user_manager.is_anonymous(user):
        return self.serialize_current_anonymous_user(user, keys, **kwargs)
    return super(UserSerializer, self).serialize(user, keys, **kwargs)
