allow different request and response serializers