performance improvements
fix JSON processor