Fill in code for custom object mapper factory.