Return nil for failed lookups (empty hashes and empty arrays).