Improved performance in the json parser