avoid mutating object mapper after it is created