- factored out specific serializer implementation in client