Added query_all and query_all_dict2. Works perfectly on every object