check for both missing yaml keys and keys with no value