allow usage of string in getAttributeValueObject