Bug on initializing json serializer

Bug on initializing json serializer with settings from outside.
The instance was never created?