Mapper is defined as a pipeline of transformations that transforms domain event object into record and back from record| railseventstore.org