added formatValue / getValue in AttributeValue