Replaces with custom version of Json serializer