This currently "breaks" the use of own hydrators with an error like:
Return value of WoohooLabs\Yang\JsonApi\Hydrator\ClassDocumentHydrator::hydrateSingleResource() must be an instance of stdClass, instance of Project\Domain\Model\MyCustomClass returned
This currently "breaks" the use of own hydrators with an error like: