add integration test to wait for json without value refactor JSON condition value parsing and validating adjusting test to reflect the error message refactoring Kubernetes-commit: dbdd861ea366af50fb74983426587dad7222cb89