improve JacksonProvider: allow using custom ObjectMapper

allows configuring the JacksonProvider to use a custom ObjectMapper.
This is useful in case the user has an existing ObjectMapper with
custom configuration.