Why not pass in a default serializer like `serializer: JsonSerializer = new DefaultJacksonJsonSerializer`? That way you don't have to pass it in everywhere and it doesn't break compatibility.