speed up json parsing if dirty is known