new factory extension function (toplevel and method on ObjectMapper)