changes the friend serializer