Optimize Python JSON handling for better performance and memory efficiency in data-heavy applications.