Fixed serialization of empty PublishResponse.