Replaced std::shared_ptr<scoped_cJSON_t> with std::shared_ptr<const scoped_cJSON_t>.