exchange doc metadata attribute keys by strings