JAVA-741: don't validate keys for lazy objects