Move object literal checks to the grammar checker.