Remove `get_serializer` method
Find the correct serializer based on the configurations.
issue