Added automapper to map domain to data. Exceptions being written to elasticsearch and mongodb