I have reverted the changes to what it used to be before converting to rapidjson. So, if there was a bug in the original code, it wouldn't change here. What do you think would this specific change look like?