dan and I decided to use StdClass here, as we only need to make sure the returned object is equal to the founded object