interface and tests for retrieving inner hashes