Fixed Attribute_converter

Fixed to_ method as well
Merge branch 'AttributeConvertors'

Merged fix from AttributeConvertors