Fixing support for serializing binary attribute value types