Added customMapperFactory for mapping all the objects