public function getSourceChildPropertiesToBeConverted($source)
{
$sourceChildPropertiesToBeConverted = array('resource' => $source->getResource());
if ($source instanceof AssetVariantInterface) {
$sourceChildPropertiesToBeConverted['originalAsset'] = $source->getOriginalAsset();
}
if ($source instanceof ImageVariant) {
$sourceChildPropertiesToBeConverted['adjustments'] = $source->getAdjustments();
}
return $sourceChildPropertiesToBeConverted;
}