Fix issue with DoctrinePropertySerializer::appliesTo() always returning true for arrays with className key. Need to check if className is a mapped class in the object manager.