remove the QueryResult and replace the default result class with dict