v2.2.0: Allows mapping to a different entity
The `mapToEntity` function now accepts an optional entity parameter. This enables mapping form data to an entity other than the one initially associated with the form, providing greater flexibility in data handling.