if we indeed need a string here, we probably should use PHPCR\PropertyType::convertType, see https://github.com/phpcr/phpcr/blob/master/src/PHPCR/PropertyType.php#L434