Revert "Correctly validate for boolean on json"

This reverts commit 14f7b229457e213006d8eeaea5115aec49b00f39.