代わりに add_to_serializer を使用したいと考えています。
add_to_serializer
例: How to add user data to the post serializer?