JavaTypeExtensions: treat simple type attachment like base64Binary