added validate_nosql_key()