Improved JSON projections and test cases.