Moving some JSON schema methods around.