configure ObjectMapper in a provider method so we can override it