assigning NoneType criteria to an empty dictionary to be able to convert it to the Criteria object