Server: Response serialization.