Support queries with string keys