Serializes an entity using the first serializer.
The serialized entity as a request body.
The entity to serialize.
The type of entity to serialize.