Upgrade JSON serializer