Advanced metadata for privacy-aware representation of credentials