Handle querying for top level keys