Add query for available keys to keyvalue datatype