Switch to rapidjson as library of choice.