Checking access on resource object serialization.