Use rmalloc in cJSON.