Compatibility changes to cJSON