Slightly reduce memory usage in JSON-C