I have added the equality comparison function of dict to equal