added flag to adding attributes to decide if sanitized.  no longer sanitize dates and numeric values