Improve JSONParserArr and JSONParserObj kernels
This PR implements the optimization for both JSONParserArr and JSONParserObj kernels that are described on its Wiki
page. Now, we only perform some parsing validations once and let only the nested problems be checked on each individual level for both of these kernels.