Object mapper extracted to constructor