Changes to how the json request is validated. This is incomplete.